// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import './assets/js/rem.js'
import './assets/styles/reset.css'
import 'font-awesome/css/font-awesome.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import AFTableColumn from 'af-table-column'//解决table列宽不自动撑开问题http://npm.taobao.org/package/af-table-column

import { Loading } from 'element-ui';

//  倒入 http 文件夹下的 index.js
import api from './axios/index.js'
import router from './router'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(api)
// Vue.use(Loading)

Vue.use(AFTableColumn)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
